// shell.h
//		..
//		yes this is a shell
//

#include "syscall.h"
#include "shell.h"
#include "../lib/lib.h"

wantExitShell = 0;

int main( int argc, char* argv[]) {
	SpaceId newProc;
	OpenFileId input = ConsoleInputId;
	OpenFileId output = ConsoleOutputId;

	char cmd[MAX_COMMAND_LENGTH];

	sb_printf(welcome); // print welcome

	while (!wantExitShell) {

		sb_printf(prompt);

		readCommand(cmd);
		parseCommand(cmd);
	}
}
